<script setup lang="ts">
import {ref} from "vue";
import {useMaterialInstanceStore} from "@/stores/material.instance";
import {storeToRefs} from "pinia";
const materialInstanceStore = useMaterialInstanceStore();
const {materialInstanceList} = storeToRefs(materialInstanceStore);
const value = ref<any>(materialInstanceList?JSON.stringify(materialInstanceList.value, null, 2):null);
</script>

<template>
  <div style="height: 100%;">
    <a-textarea v-model:value="value" allow-clear style="height: 100%;"/>
  </div>
</template>

<style scoped>
</style>
